package com.infore.common.model.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.infore.common.base.BaseModel;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;

/**
 * <p>
 *
 * </p>
 *
 * @author shaolay
 * @since 2022-12-12
 */
@TableName("stat_formula_param")
public class StatFormulaParam extends BaseModel<StatFormulaParam> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 公式id
     */
    @TableField("formula_id")
    private Integer formulaId;
    /**
     * 出参out 入参 in
     */
    @TableField("param_type")
    private String paramType;
    /**
     * 参数名称
     */
    @TableField("param_name")
    private String paramName;
    /**
     * 参数编码
     */
    @TableField("param_code")
    private String paramCode;
    /**
     * 数据类型
     */
    @TableField("data_type")
    private String dataType;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getFormulaId() {
        return formulaId;
    }

    public void setFormulaId(Integer formulaId) {
        this.formulaId = formulaId;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamCode() {
        return paramCode;
    }

    public void setParamCode(String paramCode) {
        this.paramCode = paramCode;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "StatFormulaParam{" + ", id=" + id + ", formulaId=" + formulaId + ", paramType=" + paramType + ", paramName=" + paramName + ", paramCode=" + paramCode + "}";
    }
}
